package jing.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import jing.mapper.UserCustomMapper;
import jing.pojo.User;
import jing.service.UserService;

@Service("userImpl")
public class UserImpl implements UserService{

	@Autowired
	private UserCustomMapper userCustomMapper;
	@Override
	public User UserLogin(User user) throws Exception {
		 user = this.userCustomMapper.selectUserOne(user);
		return user;
	}

}
